package com.sanyang.lawyer.service.hr;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.sanyang.lawyer.entity.HrNation;
import com.sanyang.lawyer.mapper.hr.HrNationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HrNationService {

    @Autowired
    private HrNationMapper hrNationMapper;

    public List<HrNation> listAll(HrNation hrPosition){
        QueryWrapper<HrNation> queryWrapper= new QueryWrapper<>();
        return this.hrNationMapper.selectList(queryWrapper);
    }
}
